package com.cjx.print;

import android.app.Application;

import com.cjx.print.ui.BaseDialogFragment;
import com.jeremyliao.liveeventbus.LiveEventBus;

/**
 * create by cjx on 2024/4/7
 * desc:
 */
public class App extends Application {

    public static String ACTION_PRINTER_CONNECT_STATUS = "ACTION_PRINTER_CONNECT_STATUS";

    public static String SP_MODE = "SP_MODE";
    public static String SP_TYPE = "SP_TYPE";
    public static String SP_TYPE_NEW = "SP_TYPE_NEW";
    public static String BUS_CONNECT = "BUS_CONNECT";

    public static App app;

    public BaseDialogFragment currentDialog;

    public String receiptName;
    public String receiptType;
    public String tagName;
    public String tagType;

    @Override
    public void onCreate() {
        super.onCreate();
        App.app = this;
        LiveEventBus.config().autoClear(true);
    }

}
